package cn.xzc.job.util;

import java.util.Map;

/**
 * @author xzc
 * @Classname MapUtils
 * @Description Map相关的功能
 * @Date 2024/2/18 23:22
 */
public class MapUtils {
    public static boolean isEmpty(final Map<?, ?> map) {
        return map == null || map.isEmpty();
    }

    public static boolean isNotEmpty(final Map<?, ?> map) {
        return !MapUtils.isEmpty(map);
    }
}
